package com.tadpole.music.config;

/**
 * Created By 孙岩
 * on 2020/8/20
 */
public class UrlConfig {
//    private static String BaseUrl = "http://dev.showcase.aiyuebang.com.cn";//外网测试服务器
//    private static String BaseUrl = "http://dev.bjhaiyijia.com/";//服务器
//    private static String BaseUrl = "http://192.168.2.19:8085/";//服务器
    private static String BaseUrl = "http://192.168.2.27:8081/";//服务器
//    private static String BaseUrl = "https://www.bjhaiyijia.com/";//正式服务器

    //新改正式服务器
//    private static String BaseUrl = "https://kedou.aiyuechen.com/";

    //云考试的地址
    //private static String YunBaseUrl = "https://exam.bjhaiyijia.com/";

    //新改云考试的地址
    private static String YunBaseUrl = "http://exam.kedou.aiyuechen.com/";
//    private static String BaseUrlV2 = "http://192.168.3.2:8081/";//v2本地

    /**
     * 隐私政策
     */
    public static String user_p = BaseUrl + "";
    /**
     * 验证码
     */
    public static String sendCode = BaseUrl + "common/sms/send";

    /**
     * 注册
     */
    public static String register = BaseUrl + "web/register";

    /**
     * 找回密码
     */
    public static String findPwd = BaseUrl + "web/forget_password";

    /**
     * 登录
     */
    public static String login = BaseUrl + "web/login";

    /**
     * 获取用户信息
     */
    public static String getUserInfo = BaseUrl + "web/member/info";

    /**
     * 首页轮播广告
     */
    public static String homeBanner = BaseUrl + "web/index/m_ads";

    /**
     * 首页上下滚动公告
     */
    public static String homeNotice = BaseUrl +"web/index/m_notice";

    /**
     * 获取院校
     */
    public static String getUniversity = BaseUrl + "web/index/colleges";

    /**
     * 获取desc
     */
    public static String getDesc = BaseUrl + "web/index/college/";

    /**
     * 获取token
     */
    public static String getToken = BaseUrl + "common/qiniu/qiniu_token";

    /**
     * 答题的题目
     */
    public static String getTitle = BaseUrl + "web/training/question_title?";

    /**
     * 获取题库等级
     */
    public static String getQuestion_rank = BaseUrl + "web/training/question_rank/";

    /**
     * 获取套题列表
     */
    public static String getSimulationQuestions = BaseUrl + "web/suit/suit";

    /**
     * 单独购买套题
     */
    public static String purchaseQuestion = BaseUrl + "web/question_goods_order/create_suit/";


    /**
     * 获取题库分类
     */
    public static String getQuestion_class = BaseUrl + "web/training/question_class/";

    /**
     * 体验/模拟训练
     */
    public static String trainingQuestion = BaseUrl + "web/training/question";

    /**
     * 上传错题
     */
    public static String errQuestion = BaseUrl + "web/training/report_err";

    /**
     * 获取实战真题
     */
    public static String getRealQuestion = BaseUrl + "web/exam/question";

    /**
     * 获取实战真题分数
     */
    public static String getRealScore = BaseUrl + "web/exam/score";

    /**
     * 修改密码
     */
    public static String updatePwd = BaseUrl + "web/member/password";

    /**
     * 专项练习
     */
    public static String getSpecialPractice = BaseUrl+"web/training/m_question_rank/";

    /**
     * 获取套题题目
     */
    public static String getSimulationQuestion = BaseUrl + "web/suit/suit_question/";

    /**
     * 获取会员列表
     */
    public static String getMemberCenter = BaseUrl + "web/question_goods/list";

    /**
     * 激活码支付
     */
    public static String codePay = BaseUrl + "web/question_goods_order/create/";

    /**
     * 会员中心
     */
    public static String getVipList = BaseUrl + "web/question_goods/m_list";


    /**
     * 修改用户信息
     */
    public static String updateUserInfo = BaseUrl + "web/member/info";

    /**
     * 错题上半部分
     */
    public static String getErrorHead = BaseUrl + "web/member/my_class_err";

    /**
     * 错题下半部分
     */
//    public static String getErrorFoot = BaseUrl + "web/member/my_class_err_list";

    /**
     * 我的考试上半部分
     */
    public static String getExamsHead = BaseUrl + "web/member/my_exam";

    /**
     * 我的考试下半部分
     */
    public static String getExamsFoot = BaseUrl + "web/member/question_exam_error/list";

    /**
     * 答题统计
     */
    public static String questionCount = BaseUrl + "web/member/question_static";

    /**
     * 模拟训练错题
     */
    public static String moNiQuestionError = BaseUrl + "web/member/question_class_err/list";

    /**
     * 获取单场考试错题
     */
    public static String getExaminationErrorList =  BaseUrl + "web/member/question_exam_error/err_list/";

    /**
     * 获取单题
     */
    public static String getErrorQuestion = BaseUrl + "web/training/err_question/";

    /**
     * 获取模拟考试错题列表
     */
    public static String getErrorList = BaseUrl + "web/member/question_class_err/error_list/";

    /**
     * 获取二维码
     */
    public static String getQRCode = BaseUrl + "web/member/teacher/share";

    /**
     * 获取app版本
     */
    public static String getAppVersion = BaseUrl + "web/app_version";


    /**
     * 退出登录
     */
    public static String loginOut = BaseUrl + "web/logout";

    /**
     * 获取微信openid
     */
    public static String getWXOpenId = "https://api.weixin.qq.com/sns/oauth2/access_token?appid=" +
            Constant.WX_APP_ID + "&secret=" + Constant.WX_APP_SECRET + "&code=";

    /**
     * 获取微信信息
     */
    public static String geWeChatUserInfo = "https://api.weixin.qq.com/sns/userinfo?access_token=";

















    //-------------------------------------------------------------------v2-----------------------------------------------------------------

    /**
     * v2 登录
     */
//    public static String loginV2 = BaseUrl + "api/v2/login";
    public static String loginV2 =  "http://192.168.2.27:8083/api/v2/login";

    /**
     * v2 获取用户信息
     */
    public static String getUserInfoV2 = "http://192.168.2.27:8083/api/v2/member/info";

    /**
     * v2 微信登录 绑定手机号
     */
    public static String wxBindPhoneV2 = BaseUrl + "api/v2/wxlogin";

    /**
     * 绑定微信
     */
    public static String bindWeChatV2 = BaseUrl + "api/v2/member/bindwx";

    /**
     * v2 退出登录
     */
    public static String loginOutV2 = BaseUrl + "api/v2/logout";

    /**
     * 获取首页最新资讯
     */
    public static String getHomeInfoV2 = BaseUrl + "api/v2/index/notice";

    /**
     * 资讯列表
     */
    public static String getNewInfoListV2 = BaseUrl + "api/v2/notice/list";


    /**
     * 获取打卡记录
     */
    public static String getClockInRecord = BaseUrl + "api/v2/sign";

    /**
     * 获取打卡榜单
     */
    public static String getClockInRank = BaseUrl + "api/v2/sign/rank";

    /**
     * 打卡
     */
    public static String goClockIn = BaseUrl + "api/v2/sign";

    /**
     * 修改用户信息
     */
    public static String updateUserInfoV2 = BaseUrl + "api/v2/member/info";

    /**
     * 获取视频
     */
    public static String getVideoV2 = BaseUrl + "api/v2/index/video_ads";

    /**
     * 我的学生
     */
    public static String getMyStudent = BaseUrl + "api/v2/teacher/mystu";

    /**
     * 我的学生模拟训练统计
     */
    public static String getMoniList = BaseUrl + "api/v2/teacher/statics/class?user_id=";

    /**
     * 模拟训练筛选
     */
    public static String getMoNiSearch = BaseUrl + "api/v2/teacher/statics/class/search";

    /**
     * 获取模拟训练 错题详情 上半部分
     */
    public static String getMoNiErrorDetailTop = BaseUrl + "api/v2/teacher/statics/class/item?";

    /**
     * 获取模拟训练 错题详情 下半部分
     */
    public static String getMoNiErrorDetailBottom = BaseUrl + "api/v2/teacher/statics/class/item/list?";

    /**
     * 获取实战真题 数据
     */
    public static String getZhenTiList = BaseUrl+ "api/v2/teacher/statics/exam?";

    /**
     * 真题实战 学生列表
     */
    public static String getZhenTiStudentList = BaseUrl + "api/v2/teacher/statics/exam/list?";

    /**
     * 获取学生实战真题错题
     */
    public static String getZhenTiErrorQuestion = BaseUrl + "api/v2/teacher/statics/exam/err_questions/";

    /**
     * 获取学生模拟训练错题
     */
    public static String getMoNiErrorQuestion = BaseUrl + "api/v2/teacher/statics/class/err_questions/";

    /**
     * 我的积分
     */
    public static String getMyPointList = BaseUrl + "api/v2/point/list?";

    /**
     * 获取系统配置 套题价格
     */
    public static String getSystemConfig = BaseUrl + "api/v2/config";

    //--------------------------h5--------------------------------
    /**
     * 公告资讯详情h5
     */
    public static String getNoticeInfo = BaseUrl + "api/v2/notice/";

    /**
     * 教辅
     */
    public static String getJioafu = BaseUrl + "teacher_plan/api/app#/?token=";









    //--------------------------------------------蝌蚪员考试-------------------------------------

    /**
     * 蝌蚪云考试 登录
     */
    public static String yunLogin = YunBaseUrl + "api/v1/login";

    /**
     * 蝌蚪云考试 获取考生详情
     */
    public static String getYunStudentInfo = YunBaseUrl + "api/v1/exam_enrolls/info";

    /**
     * 获取token
     */
    public static String getYunToken = YunBaseUrl + "api/v1/file/qiniu_token";

    /**
     * 提交考试
     */
    public static String yunSubmit = YunBaseUrl + "api/v1/exam_enrolls/post";

    /**
     * 获取考题
     */
    public static String getYunSubject = YunBaseUrl + "api/v1/exams/get_questions";

    /**
     * 获取考前须知
     */
    public static String getWen = YunBaseUrl + "web/pages/exam_introduce";

}
